package com.mangofactory.aop.configuration
{
	public class ExplicitClassRegistry implements ClassRegistry
	{
		private var classes:Vector.<Class> = new Vector.<Class>();
		public function ExplicitClassRegistry()
		{
		}
		
		public function getClasses():Vector.<Class>
		{
			return classes;
		}

		public function addClass(clazz:Class):void
		{
			classes.push(clazz);
		}

		public function containsMatchingClass(clazz:Class):Boolean
		{
			return classes.indexOf(clazz) != -1;
		}
	}
}